package com.scsj.supermarket.bean;

import java.util.List;

/**
 *
 */
public class GetTradeRecordListBean {

    /**
     * success : true
     * msg : success
     * statusCode : 200
     * data : {"pageNum":1,"pageSize":1,"size":1,"startRow":0,"endRow":0,"total":1,"pages":1,"list":[{"phone":"15617726107","tradeRecordId":"21641220-54f0-11e8-ac5f-a0d3c1facc88","finnshedTime":"2018-05-11T15:51:28","tradeType":4,"paymentType":"快捷支付","tradeBeforeBalance":100,"tradeTrueAmount":1,"tradeAfterBalance":101,"note":"加款测试"}],"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1,"firstPage":1,"lastPage":1}
     */

    private boolean success;
    private String msg;
    private int statusCode;
    private DataBean data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * pageNum : 1
         * pageSize : 1
         * size : 1
         * startRow : 0
         * endRow : 0
         * total : 1
         * pages : 1
         * list : [{"phone":"15617726107","tradeRecordId":"21641220-54f0-11e8-ac5f-a0d3c1facc88","finnshedTime":"2018-05-11T15:51:28","tradeType":4,"paymentType":"快捷支付","tradeBeforeBalance":100,"tradeTrueAmount":1,"tradeAfterBalance":101,"note":"加款测试"}]
         * prePage : 0
         * nextPage : 0
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         * navigateFirstPage : 1
         * navigateLastPage : 1
         * firstPage : 1
         * lastPage : 1
         */

        private int pageNum;
        private int pageSize;
        private int size;
        private int startRow;
        private int endRow;
        private int total;
        private int pages;
        private int prePage;
        private int nextPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private boolean hasPreviousPage;
        private boolean hasNextPage;
        private int navigatePages;
        private int navigateFirstPage;
        private int navigateLastPage;
        private int firstPage;
        private int lastPage;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public int getNavigateFirstPage() {
            return navigateFirstPage;
        }

        public void setNavigateFirstPage(int navigateFirstPage) {
            this.navigateFirstPage = navigateFirstPage;
        }

        public int getNavigateLastPage() {
            return navigateLastPage;
        }

        public void setNavigateLastPage(int navigateLastPage) {
            this.navigateLastPage = navigateLastPage;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean {
            /**
             * phone : 15617726107
             * tradeRecordId : 21641220-54f0-11e8-ac5f-a0d3c1facc88
             * finnshedTime : 2018-05-11T15:51:28
             * tradeType : 4
             * paymentType : 快捷支付
             * tradeBeforeBalance : 100
             * tradeTrueAmount : 1
             * tradeAfterBalance : 101
             * note : 加款测试
             */

            private String phone;
            private String tradeRecordId;
            private String finnshedTime;
            private int tradeType;
            private String paymentType;
            private int tradeBeforeBalance;
            private int tradeTrueAmount;
            private int tradeAfterBalance;
            private String note;

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getTradeRecordId() {
                return tradeRecordId;
            }

            public void setTradeRecordId(String tradeRecordId) {
                this.tradeRecordId = tradeRecordId;
            }

            public String getFinnshedTime() {
                return finnshedTime;
            }

            public void setFinnshedTime(String finnshedTime) {
                this.finnshedTime = finnshedTime;
            }

            public int getTradeType() {
                return tradeType;
            }

            public void setTradeType(int tradeType) {
                this.tradeType = tradeType;
            }

            public String getPaymentType() {
                return paymentType;
            }

            public void setPaymentType(String paymentType) {
                this.paymentType = paymentType;
            }

            public int getTradeBeforeBalance() {
                return tradeBeforeBalance;
            }

            public void setTradeBeforeBalance(int tradeBeforeBalance) {
                this.tradeBeforeBalance = tradeBeforeBalance;
            }

            public int getTradeTrueAmount() {
                return tradeTrueAmount;
            }

            public void setTradeTrueAmount(int tradeTrueAmount) {
                this.tradeTrueAmount = tradeTrueAmount;
            }

            public int getTradeAfterBalance() {
                return tradeAfterBalance;
            }

            public void setTradeAfterBalance(int tradeAfterBalance) {
                this.tradeAfterBalance = tradeAfterBalance;
            }

            public String getNote() {
                return note;
            }

            public void setNote(String note) {
                this.note = note;
            }
        }
    }
}
